package com.lego.bean;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
public class Administrator {
	private int adminId;//管理员id
	private String adminName;//管理员登录名
	private String adminPwd;//密码
	private String realName;//真实姓名
	private Date createTime;//创建时间
	private Date lastLoginTime;//上次登录时间
	
	public int getAdminId() {
		return adminId;
	}
	public void setAdminId(int adminId) {
		this.adminId = adminId;
	}
	public String getAdminName() {
		return adminName;
	}
	public void setAdminName(String adminName) {
		this.adminName = adminName;
	}
	public String getAdminPwd() {
		return adminPwd;
	}
	public void setAdminPwd(String adminPwd) {
		this.adminPwd = adminPwd;
	}
	public String getRealName() {
		return realName;
	}
	public void setRealName(String realName) {
		this.realName = realName;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Date getLastLoginTime() {
		return lastLoginTime;
	}
	public void setLastLoginTime(Date lastLoginTime) {
		this.lastLoginTime = lastLoginTime;
	}
	public Administrator() {
	}
	public Administrator(String adminName, String adminPwd, String realName) {
		super();
		this.adminName = adminName;
		this.adminPwd = adminPwd;
		this.realName = realName;
	}
	@Override
	public String toString() {
		return "Administrator [adminId=" + adminId + ", adminName=" + adminName + ", adminPwd=" + adminPwd
				+ ", realName=" + realName + ", createTime=" + createTime + ", lastLoginTime=" + lastLoginTime + "]";
	}

	
	
	
}
